package com.example.springbooteventpublisher;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringbootEventpublisherApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SpringbootEventpublisherApplication.class, args);
        EventHandleListener eventHandleListener = (EventHandleListener)context.getBean("eventHandleListener");
    }

}
